
<template>
  <!-- 全局配置 -->
  <el-config-provider :size="elConfig.size" :locale="elConfig.locale">
    <div id="automation-app">
      <RouterView />
    </div>
  </el-config-provider>
</template>

<script setup lang="ts">
import { RouterView } from 'vue-router';
import { inject } from 'vue';
const elConfig: Record<string, any> = inject('elConfig')!;
</script>

<style scoped lang="scss"></style>
